package com.ruoyi.project.express.api.service.baishi.sdk.kyServiceRegisterNotify.request;

import java.util.List;
import com.ruoyi.project.express.api.service.baishi.sdk.BaseRequest;
import com.ruoyi.project.express.api.service.baishi.sdk.BaseResponse;
import com.ruoyi.project.express.api.service.baishi.sdk.Parser;


public class KyServiceRegisterNotifyReq implements BaseRequest {
	private String logisticsProviderCode;
	private String waybillCode;
	private String orderId;
	private List<String> subscriptionServiceType;

    public String getLogisticsProviderCode()
    {
        return this.logisticsProviderCode;
    }

    public void setLogisticsProviderCode(String value)
    {
        this.logisticsProviderCode = value;
    }

    public String getWaybillCode()
    {
        return this.waybillCode;
    }

    public void setWaybillCode(String value)
    {
        this.waybillCode = value;
    }

    public String getOrderId()
    {
        return this.orderId;
    }

    public void setOrderId(String value)
    {
        this.orderId = value;
    }

    public List<String>  getSubscriptionServiceType()
    {
        return this.subscriptionServiceType;
    }

    public void setSubscriptionServiceType(List<String>  value)
    {
        this.subscriptionServiceType = value;
    }
    public String obtainServiceType() {
        return "KY_SERVICE_REGISTER_NOTIFY";
    }

    public BaseResponse makeResponse(String rsp, String format) {
        if ("xml".equalsIgnoreCase(format)) {
			return Parser.coverXml2Object(rsp, com.ruoyi.project.express.api.service.baishi.sdk.kyServiceRegisterNotify.response.KyServiceRegisterNotifyRsp.class);
		}
		return Parser.convertJson2Object(rsp, com.ruoyi.project.express.api.service.baishi.sdk.kyServiceRegisterNotify.response.KyServiceRegisterNotifyRsp.class);

    }

}
